home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 6259 < prev    next >
Encoding:
Text File  |  1996-08-05  |  871 b   |  33 lines

  1. Path: news.tu-chemnitz.de!news
  2. From: hfst@hrz.tu-chemnitz.de (Hans Steffani)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: Help - pointer notation please...
  5. Date: 23 Feb 96 14:16:12 GMT
  6. Organization: University of Technology Chemnitz, FRG
  7. Message-ID: <4gkibc$pe6@pyrrhus-f.hrz.tu-chemnitz.de>
  8. References: <4gjelv$2ek@news.mistral.co.uk>
  9. NNTP-Posting-Host: sisyphus.hrz.tu-chemnitz.de
  10.  
  11. mikebarnard@mistral.co.uk (Mike Barnard) writes:
  12.  
  13.  
  14. >Sometimes when prototyping a function the function name is pre-fixed
  15. >by an asterisk. Why? What does it mean?
  16.  
  17. Do you mean somethink like
  18.  char *strcpy( );
  19. ?
  20.  
  21. Read it as
  22.  char* strcpy();
  23. which means that it returns a value which type ich char* which
  24. means that it returns a pointer to char.
  25.  
  26. h.f.s.
  27.  
  28. --
  29. Hans Friedrich Steffani
  30. Institut fuer Elektrische Maschinen und Antriebe
  31. TU Chemnitz-Zwickau
  32. e-mail: hans.steffani@e-technik.tu-chemnitz.de
  33.